/**
 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package fr.smile.liferay.portlet.news.service;

/**
 * <p>
 * This class is a wrapper for {@link NewsFlagService}.
 * </p>
 *
 * @author    Brian Wing Shun Chan
 * @see       NewsFlagService
 * @generated
 */
public class NewsFlagServiceWrapper implements NewsFlagService {
	public NewsFlagServiceWrapper(NewsFlagService newsFlagService) {
		_newsFlagService = newsFlagService;
	}

	public fr.smile.liferay.portlet.news.model.NewsFlag addFlag(long userId,
		long entryId, int value)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _newsFlagService.addFlag(userId, entryId, value);
	}

	public void deleteFlag(long flagId)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		_newsFlagService.deleteFlag(flagId);
	}

	public void deleteFlags(long entryId)
		throws com.liferay.portal.kernel.exception.SystemException {
		_newsFlagService.deleteFlags(entryId);
	}

	public fr.smile.liferay.portlet.news.model.NewsFlag getFlag(long userId,
		long entryId, int value)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		return _newsFlagService.getFlag(userId, entryId, value);
	}

	public NewsFlagService getWrappedNewsFlagService() {
		return _newsFlagService;
	}

	private NewsFlagService _newsFlagService;
}